package com.example.dto;

import jakarta.validation.constraints.NotBlank;
import lombok.Data;

@Data
public class CategoryCreateDTO {
    
    @NotBlank(message = "分类名称不能为空")
    private String name;
    
    private String description;
    
    private String parentId;
    
    private Boolean isActive = true;
    
    private Integer sortOrder = 0;
    
    private String iconUrl;
}
